package forum.client.ui;

public interface SearchHandler {
	
	/**
	 * 
	 * @param encodedView
	 */
	public void displayResults(String encodedView, int start, int end);
	
	/**
	 * An error message that appears in case of an error (e.g. an operation failed).
	 * This function is called by the controller layer.
	 * 
	 * @param errorMessage The error message to appear.
	 */
	public void notifyError(String errorMessage);

}
